package cn.kgc.fxy.smbms.service.impl;

import cn.kgc.fxy.smbms.entity.Role;
import cn.kgc.fxy.smbms.mapper.RoleMapper;
import cn.kgc.fxy.smbms.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class RoleServiceImpl implements RoleService {
    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<Role> findByRoleName() {
        List<Role> roleList = roleMapper.selectByRoleName();
        return roleList;
    }
}
